<style type="text/css">
    #lhnChatButton img
{
	display:none;
}
#lhnChatButton a
{
	display:block;
	height:155px;
	width:100%;
	background:url(../images/online-chat-button.jpg) no-repeat;
	margin-left:10px;
	
}

#lhnChatButtonOff a
{
	display:none;
}
</style>
<script type="text/javascript">
var lhnAccountN=14322; //LiveHelpNow account #
var lhnButtonN = 17; //Button #
var lhnInviteEnabled = 1; //Invite visitor to chat automatically
var lhnInviteChime = 0; //1 = disable invite beep sound,0 = keep invite beep sound enabled
var lhnWindowN = 0; //Chat window #, leave 0 to open default window setup for your account
var lhnDepartmentN = 0; //Department #, leave 0 to not route by department
var lhnCustomInvitation = ''; //change to 1 to use custom invitation, see this article for customization instructions: http://help.livehelpnow.net/article.aspx?cid=1&aid=1739
var lhnCustom1 = ''; //Custom1 feed value please use encodeURIComponent() function to encode your values
var lhnCustom2 = ''; //Custom2 feed value please use encodeURIComponent() function to encode your values
var lhnCustom3 = ''; //Custom3 feed value please use encodeURIComponent() function to encode your values
var lhnTrackingEnabled = 't'; //change to 'f' to disable visitor tracking
var lhnVersion = 5.3; //LiveHelpNow version #
var lhnJsHost = (("https:" == document.location.protocol) ? "https://" : "http://"); //to force secure chat replace this line with: var lhnJsHost = 'https://';
var lhnScriptSrc = lhnJsHost + 'www.livehelpnow.net/lhn/scripts/livehelpnow.aspx?lhnid=' + lhnAccountN + '&iv=' + lhnInviteEnabled + '&d=' + lhnDepartmentN + '&ver=' + lhnVersion + '&rnd=' + Math.random();
var lhnScript = document.createElement("script"); lhnScript.type = "text/javascript";lhnScript.src = lhnScriptSrc;
if (window.addEventListener) {
    window.addEventListener('load', function () { document.getElementById('lhnContainer').appendChild(lhnScript); }, false);
}
else if (window.attachEvent) {
    window.attachEvent('onload', function () { document.getElementById('lhnContainer').appendChild(lhnScript); });
}
</script>

 <h5><b><!--Please choose the best way for you!--><?php echo $lang['SMSSELLER'];?></b></h5>
<!--          <div class="gird">
            <a href="<?php echo W_ROOT;?>#"><img src="<?php echo $path;?>/../images/livechat.png" alt="" /></br></a>
            </div>-->
    
 
    <table style="margin-top: 20px; border: none;">
        <tr>
            <td style="width:150px"><i class="icon-home"></i><!--Address--><?php echo $lang['ADDRSELLER'];?></td>
            <td style="width:1px;">:</td>
            <td style="width:245px;"><!--Mekong View Tower-16th floor D4 Chroy Changvar, Russie Keo, Wat Chas Road, Phnom penh, CAMBODIA--><?php echo $lang['ADDSELLS'];?></td>
            <td rowspan="3" style="width:215px">
                <div id="lhnContainer">
	<?php 
        date_default_timezone_set('Asia/Bangkok');
        $date = date('D');
		$time= date('H:i');
        if($date == "Sun" || $date == "Sat" || $time >= "12:00" && $time <= "12:59" || $time >= "18:00" && $time <= "07:59")
        {
    ?>
        <div id="lhnChatButtonOff"></div>
    <?php 
        }
        else
        {
    ?>

        <div id="lhnChatButton"></div>
        <div style="text-align:center;"><a title="Live chat system" href="http://www.livehelpnow.net/products/live_chat_system/" target="_blank">Live chat system</a></div>

    <?php
        }
    ?>
</div>
            </td>
        </tr>
        <tr>
            <td><i class="icon-envelope"></i><!--Email--><?php echo $lang['SHIP_EMAIL'] ;?></td>
            <td>:</td>
            <td>sales@gmail.com</td>
        </tr>
        <tr>
            <td><i class="icon-thumbs-up"></i><!--Phone--><?php echo $lang['SHIP_PHONE'];?></td>
            <td>:</td>
            <td>+855 78 777 468/+855 23 5000 937</td>
        </tr>
           <tr>
            <td><i class="icon-user"></i><!--Skype--><?php echo $lang['SKYPE'];?></td>
            <td>:</td>
            <td>khm.co</td>
        </tr>
      
    </table>